<template>

  <el-dialog title="任务管理" v-model="visible" width="90%" >
    <TaskIndex :orderData="orderData"/>
  </el-dialog>

</template>


<script lang="ts" setup>
const visible = ref(false)
import TaskIndex from '@/views/task/index.vue'
const orderData = ref({})

defineExpose({
  open: (data) => {
    visible.value = true
    orderData.value = data
  }
})
</script>


<style lang="scss" scoped></style>
